/*qc=on*/ CALL get_articles_by_union ("article.language=\"English\" AND article.status=\"Publish\" AND article.type=\"News\" AND DATE(article.publication_date)<=CURDATE() GROUP BY article.id ORDER BY article.publication_date DESC LIMIT 0,15","article.title_url=\"press-release-the-show-must-go-on-the-queen-adam-lambert-story"\" AND article.language=\"English\" AND article.status=\"Publish\" AND article.type=\"News\" AND DATE(article.publication_date)<=CURDATE() GROUP BY article.id ORDER BY article.publication_date DESC LIMIT 0,1 ") You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '\" AND article.language=\"English\" ' at line 1